Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

Addresses an issue where could become ɵgetOrCreateAngularServerApp undefined after an error, leading to subsequent rendering failures.

This change modifies the HMR process to include a timestamp when loading. This ensures the server application is always re-evaluated, preventing stale application states.

…defined after errors

Addresses an issue where  could become `ɵgetOrCreateAngularServerApp`
undefined after an error, leading to subsequent rendering failures.

This change modifies the HMR process to include a timestamp when loading. This ensures the server application is always re-evaluated, preventing stale application states.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 13, 2025
@alan-agius4 alan-agius4 merged commit 80f9082 into angular:main Nov 13, 2025
35 of 36 checks passed
@alan-agius4 alan-agius4 deleted the vite-error branch November 13, 2025 19:20
@alan-agius4
Copy link
Collaborator Author

The changes were merged into the following branches: main, 21.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: ɵgetOrCreateAngularServerApp is not a function - dev server stops updating if the user saves while the HTML is in an invalid state

2 participants